<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>class  SG_EXPORT osg::StateSet</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>class  SG_EXPORT <A HREF="#DOC.DOCU">osg::StateSet</A></H2></H2><BLOCKQUOTE> Encapsulates OpenGL state modes and attributes.</BLOCKQUOTE>
<HR>

<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CStateSet,MStateSet.html">
<param name=before value="M,M,M">
<param name=after value="Md_SP,Md_,M">
<param name=indent value="0,1,2">
<param name=arrowdir value="down">
</APPLET>
<HR>

<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.120.1">StateSet</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.120.2">StateSet</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.2">StateSet</A>&amp;, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.120.3">cloneType</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.120.4">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.2.120.5">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const char* <B><A HREF="#DOC.2.120.6">libraryName</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const char* <B><A HREF="#DOC.2.120.7">className</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.8">compare</A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs, bool <!1><A HREF="StateSet.html#DOC.2.120.67">compareAttributeContents</A>=false) const 
<DD><I>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.120.9">operator <  </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.120.10">operator == </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.120.11">operator != </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.12">setGlobalDefaults</A></B>()
<DD><I>set all the modes to on or off so that it defines a  complete state, typically used for a default global state</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.13">setAllToInherit</A></B>()
<DD><I>set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.14">merge</A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs)
<DD><I>merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.16">setMode</A></B>(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
<DD><I>set this StateSet to contain specified GLMode and value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.17">setModeToInherit</A></B>(const StateAttribute::GLMode mode)
<DD><I>set this StateSet to inherit specified GLMode type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const StateAttribute::GLModeValue <B><A HREF="#DOC.2.120.18">getMode</A></B>(const StateAttribute::GLMode mode) const 
<DD><I>get specified GLModeValue for specified GLMode.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; <B><A HREF="#DOC.2.120.19">getModeList</A></B>()
<DD><I>return the list of all GLModes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; <B><A HREF="#DOC.2.120.20">getModeList</A></B>() const 
<DD><I>return the const list of all GLModes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.23">setAttribute</A></B>(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
<DD><I>set this StateSet to contain specified attribute and override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.24">setAttributeAndModes</A></B>(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
<DD><I>set this StateSet to contain specified attribute and set the associated GLMode's to specified value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.25">setAttributeToInherit</A></B>(const StateAttribute::Type type)
<DD><I>set this StateSet to inherit specified attribute type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.26">getAttribute</A></B>(const StateAttribute::Type type)
<DD><I>get specified StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.27">getAttribute</A></B>(const StateAttribute::Type type) const 
<DD><I>get specified const StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* <B><A HREF="#DOC.2.120.28">getAttributePair</A></B>(const StateAttribute::Type type) const 
<DD><I>get specified RefAttributePair for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.120.29">getAttributeList</A></B>()
<DD><I>return the list of all StateAttributes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.120.30">getAttributeList</A></B>() const 
<DD><I>return the const list of all StateAttributes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.31">setTextureMode</A></B>(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
<DD><I>set this StateSet to contain specified GLMode and value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.32">setTextureModeToInherit</A></B>(unsigned int unit, const StateAttribute::GLMode mode)
<DD><I>set this StateSet to inherit specified GLMode type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const StateAttribute::GLModeValue <B><A HREF="#DOC.2.120.33">getTextureMode</A></B>(unsigned int unit, const StateAttribute::GLMode mode) const 
<DD><I>get specified GLModeValue for specified GLMode.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   TextureModeList&amp; <B><A HREF="#DOC.2.120.34">getTextureModeList</A></B>()
<DD><I>return the list of all Texture related GLModes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const TextureModeList&amp; <B><A HREF="#DOC.2.120.35">getTextureModeList</A></B>() const 
<DD><I>return the const list of all Texture related GLModes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.36">setTextureAttribute</A></B>(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
<DD><I>set this StateSet to contain specified attribute and override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.37">setTextureAttributeAndModes</A></B>(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
<DD><I>set this StateSet to contain specified attribute and set the associated GLMode's to specified value</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.38">setTextureAttributeToInherit</A></B>(unsigned int unit, const StateAttribute::Type type)
<DD><I>set this StateSet to inherit specified attribute type from parents.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.39">getTextureAttribute</A></B>(unsigned int unit, const StateAttribute::Type type)
<DD><I>get specified Texture related StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.40">getTextureAttribute</A></B>(unsigned int unit, const StateAttribute::Type type) const 
<DD><I>get specified Texture related const StateAttribute for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* <B><A HREF="#DOC.2.120.41">getTextureAttributePair</A></B>(unsigned int unit, const StateAttribute::Type type) const 
<DD><I>get specified Texture related RefAttributePair for specified type.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   TextureAttributeList&amp; <B><A HREF="#DOC.2.120.42">getTextureAttributeList</A></B>()
<DD><I>return the list of all Texture related StateAttributes contained in this StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const TextureAttributeList&amp; <B><A HREF="#DOC.2.120.43">getTextureAttributeList</A></B>() const 
<DD><I>return the const list of all Texture related StateAttributes contained in this const StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.44">setAssociatedModes</A></B>(const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.45">setAssociatedTextureModes</A></B>(unsigned int unit, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.47">setRenderingHint</A></B>(const int hint)
<DD><I>set the RenderingHint of the StateSet.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const int <B><A HREF="#DOC.2.120.48">getRenderingHint</A></B>() const 
<DD><I>get the RenderingHint of the StateSet</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.50">setRenderBinDetails</A></B>(const int binNum, const std::string&amp; binName, const <!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> mode=<!1><A HREF="StateSet.html#DOC.2.120.49.2">USE_RENDERBIN_DETAILS</A>)
<DD><I>set the render bin details</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.51">setRendingBinToInherit</A></B>()
<DD><I>set the render bin details to inherit</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const <!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> <B><A HREF="#DOC.2.120.52">getRenderBinMode</A></B>() const 
<DD><I>get the render bin mode</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const bool <B><A HREF="#DOC.2.120.53">useRenderBinDetails</A></B>() const 
<DD><I>get whether the render bin details are set and should be used</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const int <B><A HREF="#DOC.2.120.54">getBinNumber</A></B>() const 
<DD><I>get the render bin number</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   const std::string&amp; <B><A HREF="#DOC.2.120.55">getBinName</A></B>() const 
<DD><I>get the render bin name</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.56">compile</A></B>(<!1><A HREF="State.html">State</A>&amp; state) const 
<DD><I>call compile on all StateAttributes contained within this StateSet</I>
</DL></P>

<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef  std::map&lt;StateAttribute::GLMode,StateAttribute::GLModeValue&gt; <B><A HREF="#DOC.2.120.15">ModeList</A></B>
<DD><I>a container to map GLModes to their respective GLModeValues</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef  std::pair&lt;<!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="StateAttribute.html">StateAttribute</A>&gt;,StateAttribute::OverrideValue&gt; <B><A HREF="#DOC.2.120.21">RefAttributePair</A></B>
<DD><I>simple pairing between an attribute and its override flag</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef  std::map&lt;StateAttribute::Type,<!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>&gt; <B><A HREF="#DOC.2.120.22">AttributeList</A></B>
<DD><I>a container to map StateAttribyte::Types to their respective RefAttributePair</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum  <B><A HREF="#DOC.2.120.46">RenderingHint</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum  <B><A HREF="#DOC.2.120.49">RenderBinMode</A></B>
</DL></P>

<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A> <B><A HREF="#DOC.2.120.59">_modeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A> <B><A HREF="#DOC.2.120.60">_attributeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>TextureModeList <B><A HREF="#DOC.2.120.61">_textureModeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>TextureAttributeList <B><A HREF="#DOC.2.120.62">_textureAttributeList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.76">_renderingHint</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> <B><A HREF="#DOC.2.120.77">_binMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.78">_binNum</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.120.79">_binName</A></B>
</DL></P>

<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <B><A HREF="#DOC.2.120.57">~StateSet</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html">StateSet</A>&amp; <B><A HREF="#DOC.2.120.58">operator = </A></B>(const <!1><A HREF="StateSet.html">StateSet</A>&amp;)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; <B><A HREF="#DOC.2.120.63">getOrCreateTextureModeList</A></B>(unsigned int unit)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline   <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; <B><A HREF="#DOC.2.120.64">getOrCreateTextureAttributeList</A></B>(unsigned int unit)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.65">compareModes</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.66">compareAttributePtrs</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.120.67">compareAttributeContents</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; rhs)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.68">setMode</A></B>(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.69">setModeToInherit</A></B>(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const StateAttribute::GLModeValue <B><A HREF="#DOC.2.120.70">getMode</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.71">setAssociatedModes</A></B>(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.120.72">setAttribute</A></B>(<!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.73">getAttribute</A></B>(<!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* <B><A HREF="#DOC.2.120.74">getAttribute</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* <B><A HREF="#DOC.2.120.75">getAttributePair</A></B>(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const 
</DL></P>

</DL>
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>inline   void <B>setDataVariance</B>(const <!1><A HREF="Object.html#DOC.2.87.8">DataVariance</A> dv)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   const <!1><A HREF="Object.html#DOC.2.87.8">DataVariance</A> <B>getDataVariance</B>() const 
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   void <B>setUserData</B>(<!1><A HREF="Referenced.html">Referenced</A>* obj)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   const <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>() const 
</DL></P>

<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum  <B>DataVariance</B>
</DL></P>

<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.87.8">DataVariance</A> <B>_dataVariance</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="Referenced.html">Referenced</A>&gt;  <B>_userData</B>
</DL></P>

</DL>
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>inline   void <B>ref</B>() const 
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   void <B>unref</B>() const 
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   void <B>unref_nodelete</B>() const 
<DT>
<IMG ALT="o" SRC=icon2.gif>inline   const int <B>referenceCount</B>() const 
</DL></P>

<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
</DL></P>

</DL>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
Encapsulates OpenGL state modes and attributes. 
Used to specific textures etc of osg::Drawable's which hold references
to a single osg::StateSet.  StateSet can be shared between Drawable's
and is recommend if possible as it minimize expensive state changes
in the graphics pipeline.</BLOCKQUOTE>
<DL>

<A NAME="StateSet"></A>
<A NAME="DOC.2.120.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> StateSet()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="StateSet"></A>
<A NAME="DOC.2.120.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> StateSet(const <!1><A HREF="StateSet.html#DOC.2.120.2">StateSet</A>&amp;, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.2.120.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   <!1><A HREF="Object.html">Object</A>* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.120.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   <!1><A HREF="Object.html">Object</A>* clone(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.2.120.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool isSameKindAs(const <!1><A HREF="Object.html">Object</A>* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.2.120.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.2.120.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="compare"></A>
<A NAME="DOC.2.120.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compare(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs, bool <!1><A HREF="StateSet.html#DOC.2.120.67">compareAttributeContents</A>=false) const </B></TT>
<DD>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
<DL><DT><DD></DL><P>
<A NAME="operator <  "></A>
<A NAME="DOC.2.120.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator <  (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.120.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator == (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.120.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool operator != (const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setGlobalDefaults"></A>
<A NAME="DOC.2.120.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setGlobalDefaults()</B></TT>
<DD>set all the modes to on or off so that it defines a 
complete state, typically used for a default global state
<DL><DT><DD></DL><P>
<A NAME="setAllToInherit"></A>
<A NAME="DOC.2.120.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAllToInherit()</B></TT>
<DD>set all the modes to inherit, typically used to signify
nodes which inherit all of their modes for the global state
<DL><DT><DD></DL><P>
<A NAME="merge"></A>
<A NAME="DOC.2.120.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void merge(const <!1><A HREF="StateSet.html">StateSet</A>&amp; rhs)</B></TT>
<DD>merge this stateset with stateset rhs, this overrides
the rhs if OVERRIDE is specified, otherwise rhs takes precedence
<DL><DT><DD></DL><P>
<A NAME="ModeList"></A>
<A NAME="DOC.2.120.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef  std::map&lt;StateAttribute::GLMode,StateAttribute::GLModeValue&gt; ModeList</B></TT>
<DD>a container to map GLModes to their respective GLModeValues
<DL><DT><DD></DL><P>
<A NAME="setMode"></A>
<A NAME="DOC.2.120.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)</B></TT>
<DD>set this StateSet to contain specified GLMode and value
<DL><DT><DD></DL><P>
<A NAME="setModeToInherit"></A>
<A NAME="DOC.2.120.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setModeToInherit(const StateAttribute::GLMode mode)</B></TT>
<DD>set this StateSet to inherit specified GLMode type from parents.
has the effect of deleting any GlMode of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getMode"></A>
<A NAME="DOC.2.120.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const </B></TT>
<DD>get specified GLModeValue for specified GLMode.
returns INHERIT if no GLModeValue is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getModeList"></A>
<A NAME="DOC.2.120.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; getModeList()</B></TT>
<DD>return the list of all GLModes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getModeList"></A>
<A NAME="DOC.2.120.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; getModeList() const </B></TT>
<DD>return the const list of all GLModes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="RefAttributePair"></A>
<A NAME="DOC.2.120.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef  std::pair&lt;<!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="StateAttribute.html">StateAttribute</A>&gt;,StateAttribute::OverrideValue&gt; RefAttributePair</B></TT>
<DD>simple pairing between an attribute and its override flag
<DL><DT><DD></DL><P>
<A NAME="AttributeList"></A>
<A NAME="DOC.2.120.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef  std::map&lt;StateAttribute::Type,<!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>&gt; AttributeList</B></TT>
<DD>a container to map StateAttribyte::Types to their respective RefAttributePair
<DL><DT><DD></DL><P>
<A NAME="setAttribute"></A>
<A NAME="DOC.2.120.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttribute(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DD>set this StateSet to contain specified attribute and override flag
<DL><DT><DD></DL><P>
<A NAME="setAttributeAndModes"></A>
<A NAME="DOC.2.120.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttributeAndModes(<!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)</B></TT>
<DD>set this StateSet to contain specified attribute and set the associated GLMode's to specified value
<DL><DT><DD></DL><P>
<A NAME="setAttributeToInherit"></A>
<A NAME="DOC.2.120.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttributeToInherit(const StateAttribute::Type type)</B></TT>
<DD>set this StateSet to inherit specified attribute type from parents.
has the effect of deleting any state attributes of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.120.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(const StateAttribute::Type type)</B></TT>
<DD>get specified StateAttribute for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.120.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(const StateAttribute::Type type) const </B></TT>
<DD>get specified const StateAttribute for specified type.
returns NULL if no type is contained within const StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttributePair"></A>
<A NAME="DOC.2.120.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* getAttributePair(const StateAttribute::Type type) const </B></TT>
<DD>get specified RefAttributePair for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getAttributeList"></A>
<A NAME="DOC.2.120.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; getAttributeList()</B></TT>
<DD>return the list of all StateAttributes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getAttributeList"></A>
<A NAME="DOC.2.120.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; getAttributeList() const </B></TT>
<DD>return the const list of all StateAttributes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="setTextureMode"></A>
<A NAME="DOC.2.120.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)</B></TT>
<DD>set this StateSet to contain specified GLMode and value
<DL><DT><DD></DL><P>
<A NAME="setTextureModeToInherit"></A>
<A NAME="DOC.2.120.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode)</B></TT>
<DD>set this StateSet to inherit specified GLMode type from parents.
has the effect of deleting any GlMode of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureMode"></A>
<A NAME="DOC.2.120.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const </B></TT>
<DD>get specified GLModeValue for specified GLMode.
returns INHERIT if no GLModeValue is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureModeList"></A>
<A NAME="DOC.2.120.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   TextureModeList&amp; getTextureModeList()</B></TT>
<DD>return the list of all Texture related GLModes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getTextureModeList"></A>
<A NAME="DOC.2.120.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const TextureModeList&amp; getTextureModeList() const </B></TT>
<DD>return the const list of all Texture related GLModes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="setTextureAttribute"></A>
<A NAME="DOC.2.120.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttribute(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DD>set this StateSet to contain specified attribute and override flag
<DL><DT><DD></DL><P>
<A NAME="setTextureAttributeAndModes"></A>
<A NAME="DOC.2.120.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttributeAndModes(unsigned int unit, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)</B></TT>
<DD>set this StateSet to contain specified attribute and set the associated GLMode's to specified value
<DL><DT><DD></DL><P>
<A NAME="setTextureAttributeToInherit"></A>
<A NAME="DOC.2.120.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type)</B></TT>
<DD>set this StateSet to inherit specified attribute type from parents.
has the effect of deleting any state attributes of specified type from StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttribute"></A>
<A NAME="DOC.2.120.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getTextureAttribute(unsigned int unit, const StateAttribute::Type type)</B></TT>
<DD>get specified Texture related StateAttribute for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttribute"></A>
<A NAME="DOC.2.120.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const </B></TT>
<DD>get specified Texture related const StateAttribute for specified type.
returns NULL if no type is contained within const StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributePair"></A>
<A NAME="DOC.2.120.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const </B></TT>
<DD>get specified Texture related RefAttributePair for specified type.
returns NULL if no type is contained within StateSet.
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributeList"></A>
<A NAME="DOC.2.120.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   TextureAttributeList&amp; getTextureAttributeList()</B></TT>
<DD>return the list of all Texture related StateAttributes contained in this StateSet
<DL><DT><DD></DL><P>
<A NAME="getTextureAttributeList"></A>
<A NAME="DOC.2.120.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const TextureAttributeList&amp; getTextureAttributeList() const </B></TT>
<DD>return the const list of all Texture related StateAttributes contained in this const StateSet
<DL><DT><DD></DL><P>
<A NAME="setAssociatedModes"></A>
<A NAME="DOC.2.120.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedModes(const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAssociatedTextureModes"></A>
<A NAME="DOC.2.120.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedTextureModes(unsigned int unit, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderingHint"></A>
<A NAME="DOC.2.120.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum  RenderingHint</B></TT>
<DL><DT><DD></DL><P><DL>

<A NAME="DEFAULT_BIN"></A>
<A NAME="DOC.2.120.46.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DEFAULT_BIN</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OPAQUE_BIN"></A>
<A NAME="DOC.2.120.46.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OPAQUE_BIN</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TRANSPARENT_BIN"></A>
<A NAME="DOC.2.120.46.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRANSPARENT_BIN</B></TT>
<DL><DT><DD></DL><P></DL>

<A NAME="setRenderingHint"></A>
<A NAME="DOC.2.120.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderingHint(const int hint)</B></TT>
<DD>set the RenderingHint of the StateSet.
RenderingHint is used by osgUtil::Renderer to determine which
draw bin to drop associated osg::Drawables in. For opaque
objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN
should be used for objects which need to be depth sorted.
<DL><DT><DD></DL><P>
<A NAME="getRenderingHint"></A>
<A NAME="DOC.2.120.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const int getRenderingHint() const </B></TT>
<DD>get the RenderingHint of the StateSet
<DL><DT><DD></DL><P>
<A NAME="RenderBinMode"></A>
<A NAME="DOC.2.120.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum  RenderBinMode</B></TT>
<DL><DT><DD></DL><P><DL>

<A NAME="INHERIT_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.120.49.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> INHERIT_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="USE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.120.49.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> USE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OVERRIDE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.120.49.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OVERRIDE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="ENCLOSE_RENDERBIN_DETAILS"></A>
<A NAME="DOC.2.120.49.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ENCLOSE_RENDERBIN_DETAILS</B></TT>
<DL><DT><DD></DL><P></DL>

<A NAME="setRenderBinDetails"></A>
<A NAME="DOC.2.120.50"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderBinDetails(const int binNum, const std::string&amp; binName, const <!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> mode=<!1><A HREF="StateSet.html#DOC.2.120.49.2">USE_RENDERBIN_DETAILS</A>)</B></TT>
<DD>set the render bin details
<DL><DT><DD></DL><P>
<A NAME="setRendingBinToInherit"></A>
<A NAME="DOC.2.120.51"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRendingBinToInherit()</B></TT>
<DD>set the render bin details to inherit
<DL><DT><DD></DL><P>
<A NAME="getRenderBinMode"></A>
<A NAME="DOC.2.120.52"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const <!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> getRenderBinMode() const </B></TT>
<DD>get the render bin mode
<DL><DT><DD></DL><P>
<A NAME="useRenderBinDetails"></A>
<A NAME="DOC.2.120.53"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const bool useRenderBinDetails() const </B></TT>
<DD>get whether the render bin details are set and should be used
<DL><DT><DD></DL><P>
<A NAME="getBinNumber"></A>
<A NAME="DOC.2.120.54"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const int getBinNumber() const </B></TT>
<DD>get the render bin number
<DL><DT><DD></DL><P>
<A NAME="getBinName"></A>
<A NAME="DOC.2.120.55"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   const std::string&amp; getBinName() const </B></TT>
<DD>get the render bin name
<DL><DT><DD></DL><P>
<A NAME="compile"></A>
<A NAME="DOC.2.120.56"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void compile(<!1><A HREF="State.html">State</A>&amp; state) const </B></TT>
<DD>call compile on all StateAttributes contained within this StateSet
<DL><DT><DD></DL><P>
<A NAME="~StateSet"></A>
<A NAME="DOC.2.120.57"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~StateSet()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.120.58"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html">StateSet</A>&amp; operator = (const <!1><A HREF="StateSet.html">StateSet</A>&amp;)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_modeList"></A>
<A NAME="DOC.2.120.59"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A> _modeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_attributeList"></A>
<A NAME="DOC.2.120.60"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A> _attributeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureModeList"></A>
<A NAME="DOC.2.120.61"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>TextureModeList _textureModeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureAttributeList"></A>
<A NAME="DOC.2.120.62"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>TextureAttributeList _textureAttributeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getOrCreateTextureModeList"></A>
<A NAME="DOC.2.120.63"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; getOrCreateTextureModeList(unsigned int unit)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getOrCreateTextureAttributeList"></A>
<A NAME="DOC.2.120.64"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline   <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; getOrCreateTextureAttributeList(unsigned int unit)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareModes"></A>
<A NAME="DOC.2.120.65"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareModes(const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareAttributePtrs"></A>
<A NAME="DOC.2.120.66"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareAttributePtrs(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="compareAttributeContents"></A>
<A NAME="DOC.2.120.67"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int compareAttributeContents(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; lhs, const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setMode"></A>
<A NAME="DOC.2.120.68"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setModeToInherit"></A>
<A NAME="DOC.2.120.69"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setModeToInherit(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getMode"></A>
<A NAME="DOC.2.120.70"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const StateAttribute::GLModeValue getMode(const <!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const StateAttribute::GLMode mode) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAssociatedModes"></A>
<A NAME="DOC.2.120.71"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAssociatedModes(<!1><A HREF="StateSet.html#DOC.2.120.15">ModeList</A>&amp; modeList, const <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::GLModeValue value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAttribute"></A>
<A NAME="DOC.2.120.72"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttribute(<!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, <!1><A HREF="StateAttribute.html">StateAttribute</A>* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.120.73"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(<!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttribute"></A>
<A NAME="DOC.2.120.74"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateAttribute.html">StateAttribute</A>* getAttribute(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAttributePair"></A>
<A NAME="DOC.2.120.75"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="StateSet.html#DOC.2.120.21">RefAttributePair</A>* getAttributePair(const <!1><A HREF="StateSet.html#DOC.2.120.22">AttributeList</A>&amp; attributeList, const StateAttribute::Type type) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="_renderingHint"></A>
<A NAME="DOC.2.120.76"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _renderingHint</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binMode"></A>
<A NAME="DOC.2.120.77"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html#DOC.2.120.49">RenderBinMode</A> _binMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binNum"></A>
<A NAME="DOC.2.120.78"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _binNum</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binName"></A>
<A NAME="DOC.2.120.79"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _binName</B></TT>
<DL><DT><DD></DL><P></DL>

<HR><DL><DT><B>This class has no child classes.</B></DL>

<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
